import { createApp } from 'vue'
import App from './App.vue'
import 'amfe-flexible'
import router from './router'
// import vue3dLoader from './index'
import 'vant/lib/index.css';
import { Swipe, SwipeItem } from 'vant';
import { createPinia } from 'pinia';
import { Toast } from 'vant';
import { Tab, Tabs } from 'vant';
import piniapluginpersistedstate from 'pinia-plugin-persistedstate';
const app = createApp(App);
const pinia = createPinia();

pinia.use(piniapluginpersistedstate);
app.use(Swipe);
app.use(SwipeItem);
app.use(Tab);
app.use(Tabs);
app.use(router);
app.use(Toast);
app.use(pinia);
app.mount('#app');

